<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import = "com.logistics.entity.InOutStoreRoom" %>
<%@ page import = "com.logistics.database.Simpledatabase" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page import="java.text.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'PurchaseS.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<script type="text/javascript" src="scripts/jquery/jquery-1.7.1.js"></script>
	<link href="style/authority/basic_layout.css" rel="stylesheet" type="text/css">
	<link href="style/authority/common_style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="scripts/authority/commonAll.js"></script>
	<script type="text/javascript" src="scripts/fancybox/jquery.fancybox-1.3.4.js"></script>
	<script type="text/javascript" src="scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
	<link rel="stylesheet" type="text/css" href="style/authority/jquery.fancybox-1.3.4.css" media="screen"></link>
	<script type="text/javascript" src="scripts/artDialog/artDialog.js?skin=default"></script>
	<script type="text/javascript" src="scripts/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="scripts/Myscripts/alpha_add.js"></script>
	<meta http-equiv="description" content="This is my page">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%request.setCharacterEncoding("utf-8"); %>
  </head>
  
  <body>
  <div id="container">	
		<div class="ui_content">
			<div class="ui_text_indent">
				<div id="box_border">
					<div id="box_top">
						<font size=5><c:out value="${'填入退货数量' }"></c:out></font>
					</div>
				</div>
			</div>
		</div>	
	</div>
  <form action="servlet/ProductServlet" name="act" method="post">
  <center>
  <input type="hidden" name="act" value="refundtable">
  <input type="hidden" name="dispatch_id" value="<%=request.getParameter("dispatch_id") %>">
  <input type="hidden" name="order_id" value="<%=request.getParameter("order_id") %>">
  <input type="hidden" name="start_time" value="<%=request.getParameter("start_time") %>">
  <input type="hidden" name="end_time" value="<%=request.getParameter("end_time") %>">
  <input type="hidden" name="storeroom_id" value="<%=request.getParameter("storeroom_id") %>">
  <input type="hidden" name="product_id" value="<%=request.getParameter("product_id") %>">
  <input type="hidden" name="putin" value="<%=request.getParameter("putin") %>">
  <input type="hidden" name="deadline" value="<%=new SimpleDateFormat("yyyy-MM-dd").format(Calendar.getInstance().getTime()) %>">
  <table width="90%" class="table">
  <tr><th align="center">商品编号</th><td><input type="text" class="ui_input_txt03" value="<%=request.getParameter("product_id")%>" style="width: 200px; "></td></tr>
  <tr><th align="center">退货数量</th><td><input type="text" class="ui_input_txt03" name="dispatch_number" value="<%=request.getParameter("dispatch_number")%>" style="width: 200px; "></td></tr>
  <tr><th align="center">退回方向</th><td align="center"><input type="submit" name="putinfen" value="退入库房" class="ui_input_btn02" onclick="alert('已设置为退入库房，点击确定继续')"> <input type="submit" name="putinfen" value="退回商家" class="ui_input_btn02" onclick="alert('已设置为退回商家，点击确定继续')"></td></tr>
  </table>
  	<div id="box_bottom">
		  <input type="submit" value="确定" class="ui_input_btn02" class="ui_input_btn02" onclick="alert('小伙子，你已完成操作！')">
  			 &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
	</div>
  </center>
  </form>

  </body>
</html>
